﻿@using BusinessBingo.Web.Models.ViewModels;

@model BusinessBingo.Web.Models.ViewModels.GroupIndexViewModel

@{
    ViewBag.Title = " - " + @Resources.Global.SiteSubtitle;
}

<div class="box-12-expand">
	<div class="box-12">
        <div class="normalBox">
               
            @using(Html.BeginForm("Join","Group", FormMethod.Post))
            {             
			    <p>
				    @string.Format(Resources.Group.JoinQuestion, Model.GroupName)
			    </p>
                <p>
				    <label>Name:</label><br/>
				    <input class="width-3"  id="name" name="userName"  type="text" />
			    </p>
			    <p>
                        <input type="hidden" name="groupId" value="@Model.GroupId" />
				        <button class="width-3"> @Resources.Group.Join </button>
                
			    </p>
            }                
        </div>
	</div>
</div>